var app = require('express')();
var server = require('http').Server(app);
var chat = require("../lib/chat/server");

var exec = require('child_process').exec;

// 启动必要的第三方应用
exec("redis-server", function(_error, _stdout, _stderr) {
    //sys.puts(_stdout);
});

chat.setup(server);

server.listen(3050);
